home *** CD-ROM | disk | FTP | other *** search
- /* ==============
- * PedPaneIcon.cc
- * ==============
- */
-
- #include "PedestalDebugging.h"
-
- #include <Icons.h>
-
- #include "PedPaneIcon.hh"
-
- #include "PedView.hh"
-
- PedPaneIcon::PedPaneIcon(PedView &inSuperView)
- : PedPaneImage(inSuperView)
- {
- }
-
- PedPaneIcon::~PedPaneIcon()
- {
- }
-
- void
- PedPaneIcon::Draw()
- {
- Rect rect;
- //::SetRect(&rect, 0, 0, 128, 128);
- rect = mBounds;
- Point offset;
- mSuperView.GetWindowToLocalOffset(offset);
- ::OffsetRect(&rect, offset.h, offset.v);
- //::EraseRect(&rect);
- //::PlotIconID(&mBounds, atAbsoluteCenter, ttNone, 128);
- ::PlotIconID(&rect, atAbsoluteCenter, ttNone, 128);
- }
-